/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.1  (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the
 * License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */
/**
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
/*
 * CommunicationCharacteristics.h
 *
 *
 */

#ifndef CommunicationCharacteristics_H_
#define CommunicationCharacteristics_H_

#include <nlohmann/json.hpp>

#include "PpActiveTime.h"
#include "PpDlPacketCountExt.h"
#include "PpMaximumLatency.h"
#include "PpMaximumResponseTime.h"
#include "PpSubsRegTimer.h"

namespace oai::udr::model {

/// <summary>
///
/// </summary>
class CommunicationCharacteristics {
public:
  CommunicationCharacteristics();
  virtual ~CommunicationCharacteristics();

  void validate();

  /////////////////////////////////////////////
  /// CommunicationCharacteristics members

  /// <summary>
  ///
  /// </summary>
  PpSubsRegTimer getPpSubsRegTimer() const;
  void setPpSubsRegTimer(PpSubsRegTimer const &value);
  bool ppSubsRegTimerIsSet() const;
  void unsetPpSubsRegTimer();
  /// <summary>
  ///
  /// </summary>
  PpActiveTime getPpActiveTime() const;
  void setPpActiveTime(PpActiveTime const &value);
  bool ppActiveTimeIsSet() const;
  void unsetPpActiveTime();
  /// <summary>
  ///
  /// </summary>
  int32_t getPpDlPacketCount() const;
  void setPpDlPacketCount(int32_t const value);
  bool ppDlPacketCountIsSet() const;
  void unsetPpDlPacketCount();
  /// <summary>
  ///
  /// </summary>
  PpDlPacketCountExt getPpDlPacketCountExt() const;
  void setPpDlPacketCountExt(PpDlPacketCountExt const &value);
  bool ppDlPacketCountExtIsSet() const;
  void unsetPpDlPacketCountExt();
  /// <summary>
  ///
  /// </summary>
  PpMaximumResponseTime getPpMaximumResponseTime() const;
  void setPpMaximumResponseTime(PpMaximumResponseTime const &value);
  bool ppMaximumResponseTimeIsSet() const;
  void unsetPpMaximumResponseTime();
  /// <summary>
  ///
  /// </summary>
  PpMaximumLatency getPpMaximumLatency() const;
  void setPpMaximumLatency(PpMaximumLatency const &value);
  bool ppMaximumLatencyIsSet() const;
  void unsetPpMaximumLatency();

  friend void to_json(nlohmann::json &j, const CommunicationCharacteristics &o);
  friend void from_json(const nlohmann::json &j,
                        CommunicationCharacteristics &o);

protected:
  PpSubsRegTimer m_PpSubsRegTimer;
  bool m_PpSubsRegTimerIsSet;
  PpActiveTime m_PpActiveTime;
  bool m_PpActiveTimeIsSet;
  int32_t m_PpDlPacketCount;
  bool m_PpDlPacketCountIsSet;
  PpDlPacketCountExt m_PpDlPacketCountExt;
  bool m_PpDlPacketCountExtIsSet;
  PpMaximumResponseTime m_PpMaximumResponseTime;
  bool m_PpMaximumResponseTimeIsSet;
  PpMaximumLatency m_PpMaximumLatency;
  bool m_PpMaximumLatencyIsSet;
};

} // namespace oai::udr::model

#endif /* CommunicationCharacteristics_H_ */
